Method and apparatus for real-time video editing using a graphics processor

ABSTRACT

An architecture which allows real-time video editing using a 2D/3D graphics engine. This architecture comprises input and output buffers. It receives video streams from either compressed sources of data or non compressed sources of data. This architecture allows a flexible upgrade of the video effects using software plug ins.

This application is related to copending U.S. applications filed on the same day of the present application and entitled “Real-time video editing architecture” and “Flexible video architecture with software video effect filter components”.

FIELD OF THE INVENTION

This invention relates to video editing. More precisely, this invention describes an architecture that allows real-time video editing.

BACKGROUND OF THE INVENTION

Video editing has always been an important issue in video production. Film editing was initially done using splicing tools and title blending equipment. However, in recent few decades, new techniques appeared. One cornerstone in the evolution of these techniques was the beginning of the digital era. This new era opened new horizons and expanded dramatically the type of editing operations that could be performed on video streams. For instance, with this new era, it became possible to use the processing power of the computer.

Today video editing can be performed in a computer using two types of architecture.

The first type of architecture involves a dedicated 3D video special effects chip or chip set whose task is to perform only video editing operations and hardware implemented video effects. While this architecture allows real-time processing, which is a need for live broadcasting, this architecture suffers from a lack of upgradebility. Furthermore, this architecture is usually very expensive and thus not affordable for low end users.

This second type of architecture involves the common graphics chip used in computer graphics cards. This architecture allows video editing operations and video effects. Furthermore, this architecture allows a software upgrade of the video effects. However, this architecture cannot handle, in its present configuration, real-time operations. This is a major drawback that is not acceptable for a professional user and is also a great inconvenience for personal users.

There is thus a need for an architecture that would allow real-time video editing without using expensive dedicated hardware. There is also a need for an architecture that would allow a software upgrade of the video effects that can be performed in real time.

SUMMARY OF THE INVENTION

It is an object of the invention to provide a video editing architecture allowing real-time video editing using various sources of video streams,

It is another object of the invention to provide a video editing architecture that would make use of the graphic processor in a computer,

According to one broad aspect of the present invention, there is provided a video editing apparatus for performing video editing in real-time with at least one 3D rendering video effect on at least two video streams. The apparatus comprises,

a graphics processor which in turn comprises:

at least two video inputs;

an input buffer for storing at least two sequences of fields of the at least two video inputs;

a graphics image input;

a video output;

an output buffer for storing a sequence of fields of the graphics processor video output;

a 3D rendering engine;

a 2D graphics engine; and

a command interface comprising a command stack and providing a feedback signal in response to a feedback signal command;

a video effects controller connected lo the command interface providing a series of video processing commands to the command interface, each one of the video processing commands defining one graphics processing step part of a whole video processing effect of a selected one of the fields of the at least two video inputs to generate a processed field image stored as a selected one of the fields of the output buffer, the video effects controller suspending providing the series of commands when no one of the fields of the output buffer is free, the video processing commands including object specification definition data for 3D rendering, the series of video processing commands including the feedback signal command;

an input buffer controller responding to the feedback signal to control loading of new field data into the video input buffer for each of the at least two input video inputs at current field load addresses, and to keep a count of free fields in the sequence of fields in the output buffer, wherein the video effects controller suspends the providing of the video processing commands when the count is zero; and

an output buffer controller generating an address signal specifying a current output field address in the output buffer for the video output for each field to be output in real-time.

Preferably, more than one whole video processing effect is carried out to generate the selected one of the fields of the output buffer, the feedback signal command being provided only when the video processing commands for all video effect processing of the selected one of the fields of the output buffer have been provided.

Preferably, the whole video processing effect includes a combination of a video processing using the 2D graphics engine and a video processing using the 3D rendering engine.

Preferably, the desired video effect is selected from the group consisting of: wipes, dissolves, keys, borders, drop shadows, trails, sparkles, 2D and 3D DVE's, surface and object morphing, explosions, multilayer compositing, anti-aliasing, spotlights and high lights, page curl, fade effect, 3D perspective effect, organic wipe effect.

Preferably, the video effects controller is responsive to the count by one of skipping frames and reducing an amount of video effect processing, so as to maintain realtime output from the output buffer.

Preferably, the graphics processor further comprises an input graphics buffer, the apparatus further comprising an input graphics buffer controller storing input graphic image fields in the input graphics buffer.

Preferably, the graphics processor is a graphics chip, and the video effects controller, the input buffer controller and the output buffer controller are provided in software.

Preferably, the feedback signal is an interrupt generated by the graphics processor.

Preferably the output buffer holds more than 6 fields.

According to another broad aspect of the present invention, there is provided a method of performing video editing in real-time using a computer workstation. The method comprises:

providing a graphics processor in the workstation, the graphics processor having a graphic processing command stack, an input buffer and an output buffer for a number of frames, and generating a feedback signal in response to a feedback command; providing a series of video processing commands to the graphics processor, each one of the video processing commands defining one graphics processing step part of a whole video processing effect, the series of video processing commands including the feedback signal command;

specifying a current output field address in the output buffer for video output for each field to be output in real-time;

detecting the feedback signal and determining when the output buffer is full; suspending the providing the series of commands when the output buffer is full; and

controlling loading of new frame data into the input buffer in response to the feedback signal.

Preferably, when more than one whole video processing effect is carried out for a same field, the feedback signal command is provided only when the video processing commands for all video effect processing have been provided.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be better understood by an examination of the following description, together with the accompanying drawings, in which:

FIG. 1 presents an overview of the architecture of the invention; this invention comprises a graphics chip;

FIG. 2 shows a block diagram which describes actions to be performed to realize a fade effect using the architecture disclosed in the invention;

FIG. 3 shows a block diagram which describes actions to be performed to realize a 3D perspective effect using the architecture disclosed in the invention;

FIG. 4 shows a block diagram which describes actions to be performed to realize an organic wipe effect using the architecture disclosed in the invention;

PREFERRED EMBODIMENT

FIG. 1 is a schematic block diagram of the real-time video editing system according to the preferred embodiment which is described herein to teach the preferred mode of implementing the present invention with limiting the scope thereof as defined in the appended claims. While illustrated in the block diagram of FIG. 1 as an essemble of discrete components communicating with each other via distinct data signal connections, it will be understood by those skilled in the art that the system is provided by a combination of hardware and software components, with some components being implemented by a given function or operation of a hardware or software system, and many of the data paths illustrated being implemented by data communication within a computer application or operating system. The structure illustrated in FIG. 1 is thus provided for efficiency of teaching the present preferred embodiment.

A key feature of this invention is the use of high performance 3D graphics chips to perform a multitude of video special effects and compositing. Within the context of the system architecture of this invention, the 2D and 3D command functions found in standard high performance graphics chips can be used for video processing. These commands can be considered as a set of basic instructions. By combining these commands with the correct parameters and in the correct sequence, virtually any visual effects can be achieved in real-time.

These visual effects include all the standard classes of effects used in video production including but not limited to wipes, dissolves, keys, borders, drop shadows, trails, sparkles, 2D and 3D DVE's, surface and object morphing, explosions, multilayer compositing, anti-aliasing, spotlights and high lights, etc.

Of particular importance is the concept of using the video input buffers as source textures for 3D texture mapping. This concept allows live video streams to be mapped onto any conceivable surfaces or objects. The target surface or object can move, change orientation, transition, or morph as a function of time.

The repertoire of 2D and 3D functions used includes but is not limited to the following: color and pattern fill, bitbit and stretch bit, plane and byte write mask, block write, color keying, video or graphic overlay, look up table based RGBalpha or YUV alpha gamma correction, programmable color space conversion, video proc amp controls (brightness, contrast, hue, saturation), 3D perspective correct or non perspective correct texture mapping with bilinear, trilinear, and anisotropic filtering, textures with clamp, mirror, fixed border color, non power of 2 textures, mip mapping including real-time generation of mip maps from video surfaces, palettized textures, environment bump mapping, cubic environment mapping, Gouraud and specular lighting, multifunction alpha blending as described but not limited to the description in Microsoft DX6,7 and 8, fog, stencil, Z and W depth buffering, stencil, edge vector based anti-aliasing, full scene anti-aliasing, fragment buffer based anti-aliasing, rendering to a texture or using the rendering engine to create a new source texture, multipass rendering to achieve compositing and other effects, hardware transform and lighting, pixel shaders and vertex shaders as described in Microsoft DX8 specification.

A real-time video stream source 10, such as a camera or a video tape recorder, is connected to a video decoder 11 whose uncompressed digital stream output signal is fed into a CODEC 12 on a first, dedicated, video bus 40. The CODEC 12 is capable of video stream compression and decompression in real-time. The CODEC 12 can also receive compressed video stream from an external device 37 such as Fire Wire (IEEE 1394) (DV Camcorder) or SDTI. This external device 37 is connected to a compressed source interface 38 which is connected to the source controller 29. In the preferred embodiment the compressed source interface converts incoming signals from the compressed source interface 38 into DV25 format. In another embodiment, the architecture comprises a compressed source interface 38 for each available compressed video source 37. The first video bus 40 allows the decoder 11, the CODEC 12 and the video encoder 27 to communicate an uncompressed real-time video stream. The CODEC 12 is connected to video bus 41 which allows the CODEC to output in real-time video fields of two uncompressed video streams to the input ports 13 and 14 of the video stream input buffers 15 and 16 of the graphics accelerator Chip 36. In the preferred embodiment, a single bus TDMNX (with time division multiplexing to support multiple streams of video) is used. The input ports 13 and 14, and the video stream input buffers 15 and 16 are controlled by a video input buffer controller 19. The goal of the input ports 13 and 14 is to select memory locations in each video stream input buffers 15 and 16 according to the video input buffer controller 19. These memory locations will receive the video streams. In the preferred embodiment, the graphics chip 36 is preferably a Matrox G400.

The CODEC 12 is controlled by the source controller 29. In the preferred embodiment, the CODEC 12 is a C-Cube DV25/MPEG2. The source controller 29 has access to a video data storage 31. The source controller 29 also controls the video input buffer controller 19. An input buffer controller 18 controls the graphic input buffer 17 which is connected to the 3D rendering engine. The 3D rendering engine receives data streams from the video stream input buffers 15 and 16.

Although it will be appreciated that various architectures for video editing software are possible, there is illustrated in FIG. 1 a video editing controller 32 which represents the video editing user interface and controller processing associated with the application level, The video editing controller 32 may comprise, for example, the Adobe Premiered™ software package. For each specific video effect made available according to the preferred embodiment, a video effect filter module 20 is provided. An example of the video effect filter 20 is fade effect, 3D perspective effect, organic wipe effect etc. The video effect control module 30 commands the source controller 29 to retrieve specific video data files from the video data storage 31. The video effect control module 30 also commands the input buffer controller 18 and the output buffer controller 33, The output buffer controller 33 can generate an address signal which specifies a current field address. This current field address is sent to the output port 26, which will retrieve the corresponding field from the output buffer 25. The corresponding field can be then transmitted to the video encoder 27 and then to the display 28. In the preferred embodiment, the output buffer 25 has a large number of fields, the number of field is greater than 6.

The video effect control module 30 provides keyframes to the desired one of the video effect filters 20, 20′, 20″ etc. In response, the video effect filter 20 sends commands to the graphics engine command interface 21 of the graphics chip 36 to implement the desired video processing within the graphics chip 36. The video effect control module 30 also sends commands to the graphics engine command interface 21. The keyframe data describes the functionality of the effects and the graphics engine command interface 21 interprets the keyframe data to determine what specific graphics engine command is required. In the case of a video processing task requiring the capabilities of the 3D rendering engine 24, the graphics engine command interface 21 specifies the triangle and triangle meshes on which to map a video field with a resulting 3D perspective correct or non-perspective correct effect. Such an object is stored in memory 22 by data signal 42 and defined by the parameters for the vertices of the triangle or triangle meshes on which the video is to be mapped. Using the command data signal 45, the graphics engine command interface 21 is instructed to invoke either the 3D rendering engine 24 or the 2D graphics engine 23 to execute the desired video effect function and provide a result field for output buffer 25.

In the case of the 3D rendering engine 24, the graphics engine command interface 21 provides a specific command to the 3D engine 24 to map a selected one of the fields taken from one of the buffers 15, 16 and 17, thus obtaining a transformed field.

For the sake of the description, four video effects are herein disclosed. These effects are the fade effect, the 3D perspective effect, the organic wipe effect and the page curl effect.

The Fade Effect

The fade effect is probably the most simple graphics effect that can be performed. It consists in performing a transition between two video sources. In order to complete this video effect, two steps are needed. During the first step, the background source is copied (Blit) into the destination buffer. During the second step, a texture mapping involving the other video source and the destination buffer is performed. The texture mapping (TMAP) is performed with a blend factor chosen by the user.

In the case of the preferred embodiment, the video effect is implemented within the video FX filter 20. According to FIG. 2, and in the first step 51, the user chooses using the video editing controller 32 parameters that are going to be used for the effect. These parameters comprise the fade threshold control being a blend factor. These parameters will be sent to the graphics engine 36 via the graphics engine command interface 21.

In the second step 52, the user selects the video sources to be used in the effect using the video effect control module 30. The video effect control module 30 sends the information to the source controller 29. The video input buffer controller 19 then sends addresses to the input ports 13 and 14. These addresses will correspond to the location where the video frames will be stored inside the video stream input buffer. The two video sources are either real-time video stream sources or they are provided by the video data storage 31, The codec 12 insures that the video streams are real-time video streams. These two video streams go into the video stream input buffers 15 and 16 via the input port 13 and 14, One of these video streams is read by the 2D graphics engine 23 according to the first step of the video effect.

In the third step 53, the video effect control module 30 sends command to the graphics engine command interface 21 to carry out a Blit, using the 2D engine, from one selected present video input buffer (15 or 16) into a destination buffer 25 of the graphics engine 36.

In the fourth step 54, the video effect control module sends a command to the graphics engine command interface 21, this command relates to a texture mapping operation involving the other video source and the destination buffer 25 of the graphics engine 36. The texture mapping is handled by the 3D rendering engine 24.

In the fifth step 55, a feedback command is sent by the graphics engine command interface 21 to the video affect control module 30. This feedback is performed using an interruption. A service routine is called and a system event is signalled when the interruption is generated. This feedback allows the video effect control module 30 to monitor processes.

The 3D Perspective Effect

The 3D perspective effect is more complicated than the fade effect. In one embodiment, this video effect is performed using four processing operations. The first operation consists in performing a copy (Blit) of one of the two video sources referred as the background source into the destination buffer. This action is similar to the first step of the fade effect described above.

The second operation in the 3D perspective effect is a texture mapping of the second video source with soft edges and transparency in a scratch buffer.

The third operation in the 3D perspective effect involves a Gouraud shading of the borders in the scratch buffer.

The fourth operation in the 3D perspective effect involves the generation of shadow using alpha of the modified source contained in the scratch buffer. Then the second part of this operation involves the rendering of the perspective using the scratch buffer data.

In the case of the preferred embodiment, the video effect is implemented within the video FX filter 20. According to FIG. 3, and in the first step 60, the user chooses, using the video editing controller 32, parameters that are going to be used for the effect. These parameters comprise the transparency control, soft edges characteristics, Gouraud parameters, the 3D world transformation matrix, the drop shadow parameters (drop shadow color, drop shadow position).

In the second step 61, the user selects the video sources to be used in the effect using the video effect control module 30. The video effect control module 30 sands the information to the source controller 29. The two video sources are either real-time video stream sources or they are provided by the video data storage 31. The codec 12 feeds real-time video streams, These two video streams go into the video stream input buffers 15 and 16 via the input port 13 and 14.

In the third step 62, the video effect control module 30 sends command to the graphics engine command interface 21 to carry out a Blit, using the 2D graphics engine 23, from one selected present video input buffer (15 or 16) into a destination buffer 25 of the graphics engine 36.

In the fourth step 63, the video effect control module 30 sends vertices to the graphics engine command interface 21. These vertices will be sent to the 3D rendering engine 24 via the object specification memory 22. These vertices are used at this step to perform a texture mapping of one selected video source. This texture mapping is done with soft edges and transparency according to the parameters chosen by the user via the video editing controller 32. This texture mapping is performed by the 3D rendering engine 24. The result is stored into a scratch buffer, located within the graphics engine 36.

In the fifth step 64, the graphics chip applies Gouraud shading to the scratch buffer. This Gouraud shading is performed by the 3D rendering engine 23 according to parameters received by the graphics engine command interface 21.

In the sixth step 65, generation of shadow using the alpha of the scratch buffer is performed. This is performed according to informations received by the graphics engine command interface 21 and transmitted to the 3D graphics engine 24 which will perform the task.

In the seventh step 66, the rendering of the perspective is done using the scratch buffer and the destination buffer 25. This is performed using the 3D rendering engine 24 and according to commands issued by the graphics engine command

In the eighth step 67, a feedback command, similar to the feedback command described in the fade effect, is sent by the graphics engine command interface 21 to the video effect control module 30. This feedback allows the video effect control module 30 to monitor processes.

The Organic Wipe Effect

The organic wipe effect is performed, in one embodiment, using three different operations. The first operation consists of copying the background source into the destination buffer. The second operation consists of passing a defined grey scale pattern into a palette expansion unit. The third operation consists in doing a texture mapping between two video sources and modulating this texture mapping using the palette expanded grey scale pattern image.

In the case of the preferred embodiment, the video effect is implemented within the video FX filter 20. According to FIG. 4, and in the first step 70, the user chooses, using the video editing controller 32, parameters that are going to be used for the effect. These parameters comprise soft edges characteristics, a blend factor for the texture mapping, and a defined grey scale shape.

In the second step 71, the user selects the video sources to be used in the effect using the video effect control module 30. The video Effect control module 30 sends the information to the source controller 29. The two video sources are either real-time video stream sources or they are provided by the video data storage 31. The codec 12 insures that the video streams are real-time video streams. These two video streams go into the video stream input buffers 15 and 16 via the input port 13 and 14.

In the third step 72, the video effect control module 30 sends command to the graphics engine command interface 21 to carry out a Blit using the 2D graphics engine 23 from one selected present video input buffer (15 or 16) into a destination buffer 25 of the graphics engine 36.

In the fourth step 73, the grey scale pattern which is stored inside the graphics engine 36 is partly sent, according to a softness threshold, to another location inside the graphics engine 36. The graphics engine command interface 21 sends this order to the 3D rendering engine 24 according to the video effect control module 30.

In the fifth step 74, the other video source located in either the video stream input butter 15 or 16 is mapped with the data contained in the destination buffer 25 of the graphics engine 36 using the alpha expanded grey scale pattern to control the alpha blending or keying ratio. This task is completed by the 3D rendering engine 24 upon request of the graphics engine command interface 21.

In the sixth step 75, a feedback command, similar to the feedback command described in the fade effect, is sent by the graphics engine command interface 21 to the video effect control module 30. This feedback allows the video effect control module 30 to monitor processes.

The Page Curl Effect

To achieve a page curl effect, a number of video and graphics processing steps are required before the final video field can be output to buffer 25. The page curl effect is, as the previous effects described above, one example of an unlimited variety of effects that can be achieved with this invention. More precisely, to achieve a page curl, the video effect filter 20 will determine, based on the keyframe data, the exact object data for the particular state of the page curl and output this to the object specification memory 22. The object specification memory contains as series of 2D and 3D graphics commands with necessary parameters to construct the desired effect.

The page curl surface is broken up into a triangle mesh. The triangle mesh provides a means of texture mapping the video input source texture buffer onto the curved surface. This triangle mesh is broken up into a series of perspective correct triangle texture mapping commands to the 3D graphics engine 24. To improve the appearance of the page curl, the graphics hardware may be commanded to create mip maps of the video input surface 1 and 2. These mip map surfaces may be used with trilinear or anisotropic filtering on each video texture mapped triangle by 3D rendering engine 24. The rendering engine renders the texture mapped triangles into output buffer 25. In addition, Gouraud or specular lighting may be applied to achieve the effect of a specular highlight. Anti-aliasing may be applied to the edges of the page curl to remove jagged edges. Since the curled page reveals an underlying image (even if it is simply a background blank), it is preferred to blend the image of the curled page with a second field for the underlying image.

In the case that graphics titles are to be overlaid during the video editing, the video effect control module 30 takes the selected graphics from a graphics overlay memory 34 and outputs the field images, in RGB or other desired format, to the graphics input buffer 17 via the input buffer controller 18 and the video effect filter 20 commands via the graphics engine command interface 21 either the 3D rendering engine or the 2D graphics engine to overlay or blend or render the desired image using the graphics field.

It is important to notice that data coming from the graphic input buffer 17 are handled like data coming from the video stream input buffers 15 and 16, meaning that it is possible to achieve video effects with video frames coming from the graphic input buffer 17.

The graphics engine command interface 21 provides feedback that a specific graphics engine command has been successfully executed using a return command path 43. In the preferred embodiment, this feedback command is issued when a video field is entirely rendered. For instance, this can be done after two video effects if two video effects are applied to a single field. In the effects described above (fade effect, 3D perspective effect and organic wipe effect), and only for the purpose of the description, each field is handled by only one effect. The graphics engine command interface 21 processes instructions in a stack. Data signal 43 is used by the video effect control module 30 to confirm that the processing is being carried out in real-time, this is done by counting free fields in the output buffer 25. If the video effect control module 30 detects that the graphics chip 36 has not been able to complete quickly enough the requested video image processing, and that the output buffer 25 may be depleted, the video effect control module 30 may change, in one embodiment, the nature of the keyframe data either to specify that simpler video effects are to be performed or that a given frame or number of frames should be skipped in order to ensure that the remainder of the video editing takes place in realtime without the video output butter 25 being depleted. In another embodiment, the video effect control module 30 may also inform the video editing controller 32 that the graphics chip 36 has not been able to complete quickly enough the requested video image processing, and that the output buffer 25 may be depleted. According to user preferences, the video editing controller 32 may inform the user with a pop up message. 

What is claimed is:
 1. A video editing apparatus for performing video editing in real-time with at least one 3D rendering video effect on at least two video streams, the apparatus comprising: a graphics processor comprising: at least two video inputs; an input buffer for storing at least two sequences of fields of said at least two video inputs; a graphics image input; a video output; an output buffer for storing a sequence of fields of said graphics processor video output; a 3D rendering engine; a 2D graphics engine; and a command interface comprising a command stack and providing a feedback signal in response to a feedback signal command; a video effects controller connected to said command interface providing a series of video processing commands to said command interface, each one of said video processing commands defining one graphics processing step part of a whole video processing effect of a selected one of said fields of said at least two video inputs to generate a processed field image stored as a selected one of said fields of said output buffer, said video effects controller suspending providing said series of commands when no one of said fields of said output buffer is free, said video processing commands including object specification definition data for 3D rendering, said series of video processing commands including said feedback signal command; and an input buffer controller responding to said feedback signal to control loading of new field data into said video input buffer for each of said at least two input video inputs at current field load addresses, and to keep a count of free fields in said sequence of fields in said output buffer, wherein said video effects controller suspends said providing of said video processing commands when said count is zero; and an output buffer controller generating an address signal specifying a current output field address in said output buffer for said video output for each field to be output in real-time.
 2. The apparatus as claimed in claim 1, wherein more than one said whole video processing effect is carried out to generate said selected one of said fields of said output buffer, said feedback signal command being provided only when said video processing commands for all video effect processing of said selected one of said fields of said output buffer have been provided.
 3. The apparatus as claimed in claim 1, wherein said whole video processing effect includes a combination of a video processing using said 2D graphics engine and a video processing using said 3D rendering engine.
 4. The apparatus as claimed in claim 3, wherein said desired video effect is selected from the group consisting of: wipes, dissolves, keys, borders, drop shadows, trails, sparkles, 2D and 3D DVE's, surface and object morphing, explosions, multilayer compositing, anti-aliasing, spotlights and high lights, page curl, fade effect, 3D perspective effect, organic wipe effect.
 5. The apparatus as claimed in claim 1, wherein said video effects controller is responsive to said count by one of skipping frames and reducing an amount of video effect processing, so as to maintain realtime output from said output buffer.
 6. The apparatus as claimed in claim 1, wherein said graphics processor further comprises an input graphics buffer, the apparatus further comprising an input graphics buffer controller storing input graphic image fields in said input graphics buffer.
 7. The apparatus as claimed in claim 1, wherein said graphics processor is a graphics chip, and said video effects controller, said input buffer controller and said output buffer controller are provided in software.
 8. The apparatus as claimed in claim 7, wherein said feedback signal is an interrupt generated by said graphics processor.
 9. The apparatus as claimed in claim 1, wherein said output buffer holds more than 6 fields.
 10. A method of performing video editing in real-time using a computer workstation, the method comprising: providing a graphics processor in said workstation, said graphics processor having a graphic processing command stack, an input buffer and an output buffer for a number of frames, and generating a feedback signal in response to a feedback command; providing a series of video processing commands to said graphics processor, each one of said video processing commands defining one graphics processing step part of a whole video processing effect, said series of video processing commands including said feedback signal command; specifying a current output field address in said output buffer for video output for each field to be output in real-time; detecting said feedback signal and determining when said output buffer is full; suspending said providing said series of commands when said output buffer is full; and controlling loading of new frame data into said input buffer in response to said feedback signal.
 11. The method as claimed in claim 10, wherein when more than one said whole video processing effect is carried out for a same field, said feedback signal command is provided only when said video processing commands for all video effect processing have been provided. 